*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}
.slider{
    width: 220px;
    /* 这是视口宽高，直接参考浏览器窗口 */
    height: 100vh;
    background-color: #fff;
    position: fixed;
    z-index: 1001;
    box-shadow: 2px 2px 10px 2px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s;
}
.slider .top{
    width: 100%;
    height: 60px;
    background: #438AFE;
}

.slider .top h2{
    color: #fff;
    text-align: center;
    line-height: 60px;
    font-weight: 400;
    font-size: 26px;
}
.slider img{
    width: 220px;
}
.menu li{
    width: 200px;
    height: 50px;
    padding: 10px;
    padding-left: 20px;
    position: relative;
    cursor: pointer;
}
.menu img{
    width: 30px;
    height: 30px;
}  
.menu li span{
    font-size: 20px;
    margin-left: 20px;
    position: absolute;
    top: 11px;
} 
.header {
    width: 100%;
    height: 70px;
    background-color: #fff;
    padding-left: 250px;
    padding-top: 20px;
    position: fixed;
    z-index: 1000;
    box-shadow: 2px 2px 10px 2px rgba(0, 0, 0, 0.5);
}
.header .pull-left{
    width: 30px;
    height: 30px; 
    float: left;
}
.header .pull-left img{
   width: 30px;
   height: 30px;
   cursor: pointer;
}
.header .pull-center{
    width: 268px;
    height: 30px; 
    float: right;
    margin-right: 80px;
    background-color: rgb(238,241,245);
    border-radius: 30px;
    padding-left: 10px;   
}
.header .pull-center input{
    width: 240px;
    outline: none;
    border: 0;
    background-color: rgb(238,241,245);
    line-height: 30px;
}
.header .pull-right{
    width: 100px;
    height: 30px;
    float: right;
    text-align: center;
}
.header .pull-right img{
    width: 30px;
    height: 30px;
    cursor: pointer;
 }
 .header .pull-right .close{
    width: 30px;
    height: 25px;
 }


/* 内容部分 */
.main{

    background-color: rgb(244,245,249);
    padding-left: 220px;
    padding-top: 70px;
    height: 1000px;
}
.stastic .row {
   padding-top: 10px;
   padding-left: 10px;
   overflow: hidden;
}
.stastic .row .item{
    width: 25%;
    float: left; 
    padding-left: 15px;
    padding-right: 15px;
    margin: 15px 0;
}
.stastic .row .title{
    padding: 20px;
    height: 120px;
    background-color: tomato;
    font-size: 17px;
    color: white;
}
.stastic .row .title span{
    display: block;
    margin-top: 20px;
    font-size: 21px;
}
.stastic .row .title_1{
    background-color: rgb(253,195,95);
}
.stastic .row .title_2{
    background-color: rgb(249,104,104);
}
.stastic .row .title_3{
    background-color: rgb(124,183,254);
}
.stastic .row .title_4{
    background-color: rgb(169,155,253);
}

.chart .row{
   padding-left: 15px;
   padding-right: 5px;
   padding-bottom:10px;
   overflow: hidden;
}

.chart .row_left{
    float: left;
    width: 65%;
    padding-right: 10px;
    padding-left: 10px;
 }
.chart .row_right{
    width: 35%;
    float: left;
    padding-left: 10px;
    padding-right: 10px;
   
 }
 .chart .item{
    padding-left: 15px;
    padding-right: 15px;
    margin: 15px 0;
 }
 .chart .row_left .item_1{
    height: 400px;
    background-color: white;
    padding-top: 10px;
 }
 .chart .row_left .item_2{
    height: 300px;
    background-color: white;
    padding-top: 10px;
}
.chart .row_right .item_3{
    height: 300px;
    background-color: white;
    padding-top: 10px;
}
.chart .row_right .item_4{
    height: 400px;
    background-color: white;
    padding-top: 10px;
}
.chart .row_left .chart_1{
    width: 100%; 
    height: 100%;
}
.chart .row_left .chart_2{
    width: 100%; 
    height: 100%;
}
.chart .row_right .chart_3{
    width: 100%; 
    height: 100%;
}
.chart .row_right .chart_4{
    width: 100%; 
    height: 100%;
}
.chart .headino{
    width: 100%;
    height: 40px;
    padding-left: 10px;
    padding-right: 10px;

}
.chart  .headino .left{
    float: left;
    font-size: 22px;
    
} 
.chart  .headino .right{
    float: right;
    font-size: 14px;
    font-weight: bold;
    background-color: rgb(238,241,245);
    border-radius: 20px;
    padding: 5px 10px; 
   
} 

.chart .headino .right b{
   margin-left: 10px;
   margin-right: 10px;
} 
/*由于图表大小固定的话那么，缩放的时候会有问题，所以强制调为按比例缩放了 */
/* 但是这个图表的显示不仅不美观而且在tooltip会有bug */
/* 所以可以选择注释掉 */
  .chart .row .chart div{
    width: 100%!important;
}  
 .chart .row .chart canvas{
    width: 100%!important;
}


 /* 当屏幕宽度小于1200px时就一行两个 ，图表就一行一个*/
 @media screen and (max-width:1200px){
    .stastic .row .item{
        width: 50%;
    }
    .chart .row_left{
        width: 100%;
    }
    .chart .row_right{
        width: 100%;
    }
   
}
@media screen and (max-width:768px){
    .stastic .row .item{
        width: 100%;
    }
    
}
/* 响应式操作，收起侧边栏 */
 @media screen and (max-width:1024px){
    .slider{
        transform: translateX(-220px);
    }
    
    .header{
        padding-left: 15px;
    }
    .main{
        padding-left:1px;
    }
}